﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="MyImage._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div style="height: 248px; float: left; width: 1272px;">
    
        <div style="width: 557px; height: 234px; float: left;">
    
        <asp:Label ID="Label1" runat="server" Text="Input file:"></asp:Label>
        <br />
        <br />
        <asp:FileUpload ID="FileUpload1" runat="server" Width="215px" />
        <br />
        <br />
        <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Upload" />
        &nbsp;&nbsp;
            <br />
            <asp:HyperLink ID="exp2XML" runat="server" NavigateUrl="~/Export2XML.aspx">Export To XML</asp:HyperLink>
            <br />
        <asp:Label ID="lblMessage" runat="server"></asp:Label>
            <br />
        <asp:PlaceHolder ID="previewImage" runat="server"></asp:PlaceHolder>
            <br />
        </div>
        <div style="float: right; width: 700px; height: 236px;">
        <asp:Button ID="Button2" runat="server" Text="Show All" onclick="Button2_Click" />
        <asp:DataList ID="dlImages" runat="server" RepeatColumns="3" Width="656px" 
                Height="206px" onitemdatabound="dlImages_ItemDataBound" 
                onselectedindexchanged="dlImages_SelectedIndexChanged" style="margin-left: 0px">
            <ItemTemplate>
                <asp:Image ID="Image1" runat="server" />
            </ItemTemplate>
        </asp:DataList>
    
        </div>
        <br />
        <br />
    
    </div>
    <br />
    <br />
    </form>
</body>
</html>
